<?php if (count($afterworks)>0): ?>

	<ul id="afterworks" data-role="listview" data-inset="true">
	<?php foreach($afterworks as $afterwork):?>
		<li>
			<a href="/Afterwork/Detail/id/<?php echo $afterwork->id?>"><?php echo $afterwork->place?></a>
		</li>
	<?php endforeach;?>
	</ul>
	
<?php else: ?>

	<div id="none_afterwork">
		<div>
			Aucun afterwork n'est prévu pour cette semaine...
		</div>
	</div>
	
<?php endif; ?>

<a href="/Afterwork/AddNextWeek/" data-role="button">Proposer</a>
